package cn.sccl.common.scheduler.service.impl;

import cn.sccl.common.dao.BaseDAO;
import cn.sccl.common.scheduler.dao.TaskFireLogDAO;
import cn.sccl.common.scheduler.model.TaskFireLog;
import cn.sccl.common.scheduler.service.TaskFireLogManager;
import cn.sccl.common.service.impl.BaseManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* 定时调度任务日志表 的Manager实现类
* Created by _minus on 2017-10-07.
*/
@Service
public class TaskFireLogManagerImpl extends BaseManagerImpl<TaskFireLog> implements TaskFireLogManager{

    @Autowired
    private TaskFireLogDAO taskFireLogDAO;

    public TaskFireLogDAO getTaskFireLogDAO(){
        return taskFireLogDAO;
    }

    @Override
    public BaseDAO<TaskFireLog> getBaseDAO(){
        return getTaskFireLogDAO();
    }
}